import java.util.ArrayList;
import java.util.List;
import java.util.ListIterator;

public class Person {
    String name;
    public List<Card> personCards = new ArrayList<>();

    public Person(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        for (Card personCard : personCards) {
            System.out.print(personCard);
        }
        return "";
    }

    public String getName() {
        return name;
    }
}
